﻿using Keysight.Ccl.Wsl.UI;
using Keysight.Ccl.Wsl.UI.Managers;
using Keysight.Ccl.Wsl.UI.Resources.Skins;
using Prism.Ioc;
using Prism.Unity;
using stringmanagekeysight;
using System.Configuration;
using System.Data;
using System.Windows;

namespace WpfApp3
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : PrismApplication
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();

        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
        }

        private void PrismApplication_Startup(object sender, StartupEventArgs e)
        {
            InitUI();
        }
        private void InitUI()
        {
            try
            {
                UXManager.Initialize(StandardSkinNames.Caranu);

                //UXManager.Initialize(StandardSkinNames.System);


                //UXManager.ToggleAmbientSkin("Custom Resize Borders", true);
                //UXManager.Initialize();

                //SkinManager.Instance.AddSkin(new CaranuDarkSkinFragment());
                //SkinManager.Instance.AddSkin(new CaranuLightSkinFragment());
                //SkinManager.Instance.AddSkin(new CaranuPlusDynamicIconsSkinFragment());

                //SkinManager.Instance.AddSkin(new SystemSkin());



                //UXManager.ColorScheme = "CaranuLightSkinFragment";

                //UXManager.Initialize(StandardSkinNames.Caranu);
                //UXManager.Initialize(StandardSkinNames.System);

                //UXManager.ToggleAmbientSkin("Custom Resize Borders", true);
            }
            catch { }
        }
    }

}
